//
//  LBMeUpdateAddrCell.m
//  loveBeen
//
//  Created by lc on 2016/11/24.
//  Copyright © 2016年 loveBeen. All rights reserved.
//

#import "LBMeUpdateAddrCell.h"

@interface LBMeUpdateAddrCell ()
@property (weak, nonatomic) IBOutlet UITextField *tx_userName;
@property (weak, nonatomic) IBOutlet UIButton *lb_genderMen;
@property (weak, nonatomic) IBOutlet UIButton *btn_genderLady;
@property (weak, nonatomic) IBOutlet UITextField *tx_province;
@property (weak, nonatomic) IBOutlet UITextField *tx_city;
@property (weak, nonatomic) IBOutlet UITextField *tx_detailAddr;
@property (weak, nonatomic) IBOutlet UITextField *tx_phoneNumber;

@end

@implementation LBMeUpdateAddrCell


-(void)setModel:(LBMeUpdateAddrModel *)model {
    _model = model;
    _tx_userName.text = model.contactName;
    _tx_detailAddr.text = model.contactAddr;
    _tx_phoneNumber.text = model.contactPhoneNum;
    _lb_genderMen.selected = YES;
}
- (IBAction)deleteContaceAddr:(UIButton *)sender {
    if ([_delegate respondsToSelector:@selector(deleteFromCell:)]) {
        [_delegate deleteFromCell:self];
    }
    
}




- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
